package com.mxsat.system.service;

import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mxsat.common.service.Service;
import com.mxsat.system.entity.SysUser;

public interface SysUserService extends Service{
	
	SysUser findUserForLoginByName(String name,String pwd)throws Exception;

	IPage<SysUser> findSysUsersByPage(IPage<SysUser> page,Map<String, Object> condition)throws Exception;

	SysUser findSysUserById(Long id)throws Exception;
	
	SysUser findUserByName(String name) throws Exception;
	
	boolean addSysUser(SysUser user)throws Exception;
	
	boolean modifySysUserById(SysUser user)throws Exception;
	
	boolean removeSysUserById(Long id)throws Exception;
	
}
